<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%> 
<%@page import="com.lmpop.trade.ti_evaluate.*" %>

<html>

<%
		String info_id="";
  	if(request.getParameter("info_id")!=null) info_id = request.getParameter("info_id");
  	Ti_evaluateInfo ti_evaluateInfo = new Ti_evaluateInfo();
  	List list = ti_evaluateInfo.getListByPk(info_id);
  	Hashtable map = new Hashtable();
  	if(list!=null && list.size()>0) map = (Hashtable)list.get(0);
  	
  	String cust_id="",order_no="",send_user_id="",content="",in_date="",infolevel="",reply_content="",reply_date="",pub_user_id="";
  	
  	String info_level="",same_num="",service_num="",speed_num ="";
  	
  	if(map.get("order_no")!=null) order_no = map.get("order_no").toString();
  	if(map.get("send_user_id")!=null) send_user_id = map.get("send_user_id").toString();
  	if(map.get("content")!=null) content = map.get("content").toString();
  	if(map.get("in_date")!=null) in_date = map.get("in_date").toString();
  	if(map.get("info_level")!=null) info_level = map.get("info_level").toString();
  	if(map.get("reply_content")!=null) reply_content = map.get("reply_content").toString();
  	if(map.get("reply_date")!=null) reply_date = map.get("reply_date").toString();
  	if(map.get("pub_user_id")!=null) pub_user_id = map.get("pub_user_id").toString(); 
  	
  	if(map.get("same_num")!=null) same_num = map.get("same_num").toString();
    if(map.get("service_num")!=null) service_num = map.get("service_num").toString();
    if(map.get("speed_num")!=null) speed_num = map.get("speed_num").toString();

    
	String s_oder_no = "";
	if(request.getParameter("s_oder_no")!=null && !request.getParameter("s_oder_no").equals(""))
	{
		 s_oder_no = request.getParameter("s_oder_no");
	}
	String iStart = "0"; 
	if(request.getParameter("iStart")!=null) iStart = request.getParameter("iStart");
	String para = "/program/company/mycomment/index.jsp?s_oder_no="+s_oder_no+"&iStart="+Integer.parseInt(iStart);
	
%>
  <head>
    <title>回复评价</title>
	<link href="/program/company/index/css/style.css" rel="stylesheet" type="text/css">
	<script src='rating/jquery.js' type="text/javascript"></script>
	<script src='rating/documentation.js' type="text/javascript"></script>
  <link href='rating/documentation.css' type="text/css" rel="stylesheet"/>
  <!--// plugin-specific resources //-->
	<script src='rating/jquery.MetaData.js' type="text/javascript" language="javascript"></script>
  <script src='rating/jquery.rating.js' type="text/javascript" language="javascript"></script>
  <link href='rating/jquery.rating.css' type="text/css" rel="stylesheet"/> 
 <script src='js_comment.js' type="text/javascript"></script>


</head>

<body>
	<h1>回复评价</h1>
	
	<form action="/doTradeReg.do" method="post" name="addForm">
	
	<table width="100%" class="listtabadd" cellpadding="1" cellspacing="1" border="0">
		

		<tr>
			<td class="labletd" width="20%">
				评论所属订单号
			</td>
			<td>
				 <%=order_no%>
				</td>
		</tr>
		
		<tr>
			<td class="labletd" width="20%">
				评论内容
			</td>
			<td>
		   	<%=content%>
			</td>
		</tr> 
		
			<tr>
			<td class="labletd" width="20%">
				评价级别
			</td>
			<td>
		    <%if(info_level.equals("0"))out.print("好评");%> 
				<%if(info_level.equals("1"))out.print("中评");%>
				<%if(info_level.equals("2"))out.print("差评");%> 

			</td>
		</tr> 
		
		
			<tr>
			<td class="labletd" width="20%">
				商品与描述相符
			</td>
			<td>
		<input name="same_num" type="radio" value='1'  class="star" <%if(same_num.equals("1"))out.print("checked");%> disabled />
    <input name="same_num" type="radio" value='2'  class="star" <%if(same_num.equals("2"))out.print("checked");%> disabled />
    <input name="same_num" type="radio" value='3'  class="star" <%if(same_num.equals("3"))out.print("checked");%> disabled />
    <input name="same_num" type="radio" value='4'  class="star" <%if(same_num.equals("4"))out.print("checked");%> disabled />
    <input name="same_num" type="radio" value='5' class="star"  <%if(same_num.equals("5"))out.print("checked");%> disabled />
			</td>
		</tr>

	<tr>
			<td class="labletd" width="20%">
				卖家的服务态度
			</td>
			<td>
   <input name="service_num" type="radio" value='1'  class="star" <%if(service_num.equals("1"))out.print("checked");%> disabled />
    <input name="service_num" type="radio" value='2'  class="star" <%if(service_num.equals("2"))out.print("checked");%> disabled />
    <input name="service_num" type="radio" value='3'  class="star" <%if(service_num.equals("3"))out.print("checked");%> disabled />
    <input name="service_num" type="radio" value='4'  class="star" <%if(service_num.equals("4"))out.print("checked");%> disabled />
    <input name="service_num" type="radio" value='5'  class="star" <%if(service_num.equals("5"))out.print("checked");%> disabled />



			</td>
		</tr> 
		
		<tr>
			<td class="labletd" width="20%">
				卖家发货的速度
			</td>
			<td>
   <input name="speed_num" type="radio" value='1'  class="star" <%if(speed_num.equals("1"))out.print("checked");%> disabled />
    <input name="speed_num" type="radio" value='2'  class="star" <%if(speed_num.equals("2"))out.print("checked");%> disabled />

    <input name="speed_num" type="radio" value='3'  class="star" <%if(speed_num.equals("3"))out.print("checked");%> disabled />
    <input name="speed_num" type="radio" value='4'  class="star" <%if(speed_num.equals("4"))out.print("checked");%> disabled />

    <input name="speed_num" type="radio" value='5'  class="star" <%if(speed_num.equals("5"))out.print("checked");%> disabled />




			</td>
		</tr>

   	<tr>
			<td class="labletd" width="20%">
				回复评价<font color="red">*</font>			
			</td>
			<td>
		 	<textarea name="reply_content" id="reply_content"  style="WIDTH: 425px;HEIGHT:100px" ><%=reply_content%></textarea>
			</td>
		</tr>
 


		

	</table>
	
	<table width="100%" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td align="center">
				<input type="hidden" name="bpm_id" value="9311" /> 
				<input type="hidden" name="info_id" value="<%=info_id%>" />
				<input type="hidden" name="jumpurl" value="<%=para%>" />
				<input type="button" class="buttoncss" name="tradeSub"  onclick="subForm()"   value="提交" />&nbsp;&nbsp;
				<input type="button" class="buttoncss"  name="tradeRut" value="返回" onClick="window.location.href='<%=para%>';"/>
			</td>
		</tr>
	</table>
	</form>
</body>

</html>
